/*
* Copyrigth 2008 Company All rigths reserved
* File Name: TS_School_Entity.cs
* Created By:    Wenbin.Xu
* Created Date:   2013/7/8 16:29:45
* Description:    TS_School的实体类
* Change History: 
* 
* */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WisDragon.Framework.EntityAttribute;

namespace TrainingsApp.Model {
    /// <summary>
    /// 表示TS_School的类型
    /// </summary>
    public class TS_School_Entity {
        /// <summary>
        /// 学校主键
        /// </summary>
        [DataMapping("Idx", System.Data.DbType.Int64)]
        public System.Int64? Idx { get; set; }

        /// <summary>
        /// 学校代码
        /// </summary>
        [DataMapping("SchoolCode", System.Data.DbType.AnsiString)]
        public System.String SchoolCode { get; set; }

        /// <summary>
        /// 学校类型
        /// </summary>
        [DataMapping("SchoolType", System.Data.DbType.Byte)]
        public System.Byte? SchoolType { get; set; }

        /// <summary>
        /// 学校名称
        /// </summary>
        [DataMapping("SchoolName", System.Data.DbType.AnsiString)]
        public System.String SchoolName { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        [DataMapping("ProvinceId", System.Data.DbType.Int32)]
        public System.Int32? ProvinceId { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [DataMapping("AreaId", System.Data.DbType.Int32)]
        public System.Int32? AreaId { get; set; }

        /// <summary>
        /// 区/县
        /// </summary>
        [DataMapping("RegionId", System.Data.DbType.Int32)]
        public System.Int32? RegionId { get; set; }

        /// <summary>
        /// 乡镇
        /// </summary>
        [DataMapping("TownId", System.Data.DbType.Int32)]
        public System.Int32? TownId { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [DataMapping("Address", System.Data.DbType.AnsiString)]
        public System.String Address { get; set; }

        /// <summary>
        /// 是否认证
        /// </summary>
        [DataMapping("IsValid", System.Data.DbType.Int32)]
        public System.Int32? IsValid { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        [DataMapping("ZipCode", System.Data.DbType.AnsiString)]
        public System.String ZipCode { get; set; }


        [DataMapping("TypeName", System.Data.DbType.AnsiString)]
        public string TypeName { get; set; }

        [DataMapping("ProvinceName", System.Data.DbType.AnsiString)]
        public string ProvinceName { get; set; }

        [DataMapping("AreaName", System.Data.DbType.AnsiString)]
        public string AreaName { get; set; }

        [DataMapping("RegionName", System.Data.DbType.AnsiString)]
        public string RegionName { get; set; }

    }
}